<template>
  <div class="renderingComponentsContainer">
    <div v-if="value === 'ISCP'" class="ISCP">ISCP</div>
    <div v-else-if="value === 'IBCP'" class="IBCP">IBCP</div>
    <div v-else v-html="value"></div>
  </div>
</template>

<script>
export default {
  props: {
    value: {
      type: String,
      default: ''
    }
  },
  name: 'renderingComponents',
  data() {
    return {}
  },
  created() {},
  mounted() {},
  methods: {}
}
</script>

<style scoped lang="scss">
.renderingComponentsContainer {
  display: flex;
  justify-content: center;
  align-items: center;
}
@mixin label($background) {
  width: 42px;
  height: 20px;
  border-radius: 2px;
  font-size: 14px;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  background: $background;
  box-sizing: border-box;
}
.ISCP {
  @include label(#ff2200);
}
.IBCP {
  @include label(#ED9E00);
}
</style>
